A Coupling Framework for AspectJ
نویسندگان
چکیده
Aspect-oriented programming and in particular AspectJ as its predominant implementation has received an increasing amount of attention by the measurement community. Lately, new measures have been suggested that focus on aspect-oriented core concepts, including several measures for coupling in aspectoriented systems. However, these measures use different terminologies and lack a clear design goal which makes an analysis, comparison and validation a difficult task. Also, the lack of a sound foundation for coupling measures complicates the definition of new measures for specific measurement goals. These problems are addressed in this paper by the adaptation of an existing framework for coupling measurement in object-oriented systems for AspectJ to create a basis on which further research into aspect-oriented coupling measures can be carried out. First, an overview of related work is given, followed by an introduction to the AspectJ programming language and its core concepts. The adapted framework will be presented and applied in order to specify a new aspect-oriented measure.
منابع مشابه
Considerations on component visibility and code reusability in AspectJ
The AspectJ programming language supports the principle of modularity and abstraction by allowing explicit separation between aspects and system core concerns. However, using AspectJ does not necessarily imply loose coupling as aspect definitions may maintain explicit visibility over components. In this paper we look at the problem of the binding of aspect definitions to application code in Asp...
متن کاملEvaluation and Assessment in Software Engineering A Coupling Framework for AspectJ
Aspect-orientation is an emerging paradigm that is based on the separation of concerns principle. It offers the idea of a new modular unit that encapsulates crosscutting concerns which would otherwise be scattered across multiple modules. Aspect-oriented measurement is a research area that has gained an increasing amount of attention lately due to the definition of several suites of measures de...
متن کاملMetrics for Measuring Change Impacts in AspectJ Software Maintenance and Reuse
Software metrics play an important role in software development, project management, and system maintenance tasks. They can be used to indicate the degree of system interdependencies among the components and provide valuable feedbacks for better reusability, maintainability and reliability. During system evolution, software change is an essential operation. When software functionalities are add...
متن کاملModularization of Enterprise Application Security Through Spring AOP
The goal of the paper is to present that Aspect Oriented Programming AspectJ integrated with Spring AOP provides very powerful mechanisms for modularizing enterprise security cross-cutting concerns. Aspect-oriented programming (AOP) allows weaving a security aspect into an application providing additional security functionality or introducing completely new security mechanisms.Spring’s proxy-ba...
متن کاملStatic analysis and run-time coupling metrics
The relationships between coupling and external quality factors of object-oriented software[1] have been studied extensively for the past few years. For example, a clear empirical relationship between class-level coupling and the fault-proneness of the classes have been identified by several studies. A number of statistical techniques, principally Agglomerative Hierarchical Clustering (AHC) ana...
متن کامل